<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title><?php echo $template["title"]; ?></title>
    <meta name="keywords" content="<?php echo $template["keyword"]; ?>" />
    <meta name="description" content="<?php echo $template["description"]; ?>" />
    <link rel="stylesheet" href="../style/public.css">
    <link rel="stylesheet" href="../style/index.css">
</head>
<body>
    <!-- 头部开始 -->
    <header>
        <div class="logo">
            管理中心
        </div>
        <ul class="nav">
            <li><a href="https://gitee.com/kusecode/bbs" target="_blank">Gitee仓库</a></li>
            <li><a href="https://blog.csdn.net/UserPython" target="_blank">个人博客</a></li>
        </ul>
        <div class="login_info">
            <a href="#">网站首页</a>
            &nbsp; &nbsp;| &nbsp; &nbsp; 管理员：admin &nbsp;
            <a href="#">[退出]</a>
        </div>
    </header>
    <!-- 头部结束 -->

    <!-- 左侧导航栏开始 -->
    <nav>
        <ul>
            <li>
                <div class="small_title">系统管理</div>
                <ul class="child">
                    <li><a class="current" href="">系统信息</a></li>
                    <li><a href="">管理员</a></li>
                    <li><a href="">添加管理员</a></li>
                    <li><a href="">站点设置</a></li>
                </ul>
            </li>
            <li>
                <div class="small_title">内容管理</div>
                <ul class="child">
                    <li><a <?php if(basename($_SERVER['SCRIPT_NAME']) =='father_module.php'){echo 'class="current"';} ?> href="father_module.php">父版块列表</a></li>
                    <li><a <?php if(basename($_SERVER['SCRIPT_NAME']) =='father_module_add.php'){echo 'class="current"';} ?> href="father_module_add.php">添加父版块</a></li>
                    <li><a <?php if(basename($_SERVER['SCRIPT_NAME']) =='son_module.php'){echo 'class="current"';} ?>href="son_module.php">子版块列表</a></li>
                    <li><a <?php if(basename($_SERVER['SCRIPT_NAME']) =='son_module_add.php'){echo 'class="current"';} ?> href="son_module_add.php">添加子版块</a></li>
                    <li><a href="">帖子管理</a></li>
                </ul>
            </li>
            <li>
                <div class="small_title">用户管理</div>
                <ul class="child">
                    <li><a href="">用户列表</a></li>
                </ul>
            </li>
        </ul>
    </nav>
    <!-- 左侧导航栏结束 -->